<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
	<title>Vue 测试实例 - 菜鸟教程(runoob.com)</title>
	<script src="https://cdn.staticfile.org/vue/2.4.2/vue.min.js"></script>
</head>
<body>
    <div id="vue_det">
        <h1>{{site}}</h1>
        <h1>{{url}}</h1>
        <h1>{{details()}}</h1>
    </div>
    <script type="text/javascript">
        var vm = new Vue({
            el: '#vue_det',
            data: {
                site: "shuoGG",
                url:"www.shuoGG.com",
                alexa:"10000"
            },
            methods: {
                details: function() {
                    return this.site + "HeiHeiHei";
                }
            }
        })
    </script>
</body>
</html>